package com.qys.livesMall.system.service;

import com.qys.livesMall.common.result.R;
import com.qys.livesMall.framework.view.QysPage;
import com.qys.livesMall.system.model.dto.words.EditWords;
import com.qys.livesMall.system.model.dto.words.WordsSearch;
import com.qys.livesMall.system.model.vo.sys.WordsVO;

import java.util.List;

/**
 * <p>
 * 敏感词库 服务类
 * </p>
 *
 * @author
 * @since 2023-06-08
 */
public interface SysSensitiveVocabularyService  {

    /**
     * 分页查询
     * @param search
     * @return
     */
    QysPage<WordsVO> list(WordsSearch search);

    R add(EditWords editWords);

    R edit(EditWords editWords);

    R del(List<Long> ids);
}
